package com.huatai.datacenter.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("接口请求日志统计结果")
public class RequestLogStatVo {
    @ApiModelProperty("访问对象（appKey）")
    private String appKey;
    
    @ApiModelProperty("访问次数（请求次数）")
    private Integer requestCount;
    
    @ApiModelProperty("访问条数（总数据量）")
    private Integer totalData;
    
    @ApiModelProperty("成功条数")
    private Integer successData;
    
    @ApiModelProperty("失败条数")
    private Integer errorData;
    
    @ApiModelProperty("成功率（百分比）")
    private BigDecimal successRate;
}